micro_utils.dokka
0.14.2
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.pagination.utils
/
[jvm]optionallyReverse
optionally
Reverse
jvm
fun
<
T
>
Iterable
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Iterable
<
T
>
fun
<
T
>
List
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
List
<
T
>
fun
<
T
>
Set
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Set
<
T
>
inline
fun
<
T
>
Array
<
T
>
.
optionallyReverse
(
reverse
:
Boolean
)
:
Array
<
T
>
fun
Pagination
.
optionallyReverse
(
objectsCount
:
Int
,
reverse
:
Boolean
)
:
Pagination
fun
Pagination
.
optionallyReverse
(
objectsCount
:
Long
,
reverse
:
Boolean
)
:
Pagination